package com.jackstraw.jack_base.rules.dao.database;

import com.jackstraw.jack_base.datasource.mybatis.base.dao.MyBatisDao;
import com.jackstraw.jack_base.rules.entity.po.RuleKeyPo;
import com.jackstraw.jack_base.rules.entity.po.RulePoExample;
import com.jackstraw.jack_base.rules.entity.po.RulePo;

import java.util.List;

/**
 * 规则表  数据持久层
 *
 * @author zhaozhao 945514650@qq.com
 * @since version:1.0 generatorDate:2022-12-04 14:28:29
 */
public interface RuleDao extends MyBatisDao<RulePo, RuleKeyPo<RulePo>, RulePoExample> {

    /**
     * 通过ruleGroupId查询关联规则
     *
     * @param ruleGroupId
     * @return
     */
    List<RulePo> selectByRuleGroupId(Long ruleGroupId);
}